english:

hey guys this is my first GTA 4 weapon mod!

i hope you like it^^

Install:

1. open your GTA4/common/data/effects--> explosionFx.dat

2. copy this line: EPISODIC_3  100.0  50.0  2.0  1.0  1.5    50.0  -1.0  11.0  0.0005  	0.0  0.0  exp_fireball  exp_fireball_air	0.5  0	0	0.0	0.0	0.015 EPISODIC_8	0  1.0	0.75	0.2	60.0	3.5	0.15	0

and paste it under the line with 'Truck'.

3. save the explosionFx.dat

4.open your GTA4/common/data/--> weaponinfo.xml

5.copy this and paste it above the last word </weaponinfo>



<!--                    -->
	<!--   ADD-ON WEAPONS   -->
	<!--                    -->

        <weapon type="EPISODIC_8">
 <data slot="SHOTGUN" firetype="PROJECTILE" damagetype="EXPLOSIVE" group="RIFLE_ASSAULT" targetrange="65.0" weaponrange="70.0" clipsize="6" ammomax="600" timebetweenshots="133">
 	<damage base="30" networkplayermod="2.5" networkpedmod="1.25"/>
 	<reload time="2066" fasttime="1166" crouchtime="2066"/>

 	<aiming accuracy="0.06">
   <offset  x="0.16" y="1.0" z="0.44"/>
   <crouchedoffset x="0.16" y="1.0" z="0.0"/>
   <reticule standing="1.0" ducked="1.0" scale="0.0"/>
 	</aiming>

 	<pickup regentime="6000" ammoonstreet="80"/>

 	<controller>
   <rumble duration="90" intensity="0.1"/>
 	</controller>

 	<flags>
   <flag>GUN</flag>
   <flag>CAN_AIM</flag>
   <flag>CAN_FREE_AIM</flag>
   <flag>ANIM_RELOAD</flag>
   <flag>ANIM_CROUCH_FIRE</flag>
   <flag>2HANDED</flag>
 	</flags>

 	<projectile>
   <typetocreate type="EPISODIC_18"/>
   <offset x="0.5" y="0.0" z="0.5"/>
   <rotoffset x="0.0" y="0.0" z="-1.5"/>
   <physics force="200"/>
 	</projectile>
 </data>

 <assets model="w_pumpshot">
 	<anim group="gun@baretta">
   <rates firerate="1.0" blindfirerate="1.0"/>
 	</anim>
 	<effects>

   <muzzle fx="muz_shotgun"/>
   <shell fx="weap_ejected_shotgun"/>
 	</effects>
 </assets>
</weapon> 

        <weapon type="EPISODIC_18">
 <data slot="THROWN" firetype="PROJECTILE" damagetype="EXPLOSIVE" targetrange="10000.0" clipsize="1">
 	<damage base="30" networkplayermod="2.0" networkpedmod="1.0"/>
 	<physics force="20"/>

 	<aiming accuracy="0.0">
   <offset x="0.0" y="1.0" z="0.0"/>
   <crouchedoffset x="0.0" y="1.0" z="0.0"/>
   <reticule standing="0.65" ducked="0.55" scale="0.1"/>
 	</aiming>

 	<pickup regentime="0" ammoonstreet="8"/>

 	<controller>
   <rumble duration="0" intensity="0.0"/>
 	</controller>

 	<flags>
   <flag>THROWN</flag>
   <flag>EXPLOSION_BASED_ON_IMPACT</flag>
 	</flags>

 	<projectile type="IMPACT">
   <explosion type="EPISODIC_3"/>
   <physics force="3000" vehiclevelocity="7000" explodeimpactthreshold="0.2" explodeimpactwithvehiclethreshold="0.2"/>
 	</projectile>
 </data>

 <assets model="cj_rpg_rocket">
 </assets>
</weapon>


6. save the weaponinfo.xml

7. go inside in the trainer.ini and enable 'EPISODIC'

8. go in-game and open the trainer/weapons

9. spawn the EPISODIC_8 weapon

10.your done^^








DEUTSCH

1.ffne den GTA4/common/data/effects-->explosionFx.dat

2.kopiere diese zeile und fge sie unter der letzten zeile mit den word 'Truck' ein:

EPISODIC_3  100.0  50.0  2.0  1.0  1.5    50.0  -1.0  11.0  0.0005  	0.0  0.0  exp_fireball  exp_fireball_air	0.5  0	0	0.0	0.0	0.015 EPISODIC_8	0  1.0	0.75	0.2	60.0	3.5	0.15	0

3.speichere die explosionFx.dat

4. ffne den GTA4/common/data-->weaponinfo.xml

5. kopiere diese zeile und fge sie ber dem letzten wort ganz unten </weaponinfo> ein:


<!--                    -->
	<!--   ADD-ON WEAPONS   -->
	<!--                    -->

        <weapon type="EPISODIC_8">
 <data slot="SHOTGUN" firetype="PROJECTILE" damagetype="EXPLOSIVE" group="RIFLE_ASSAULT" targetrange="65.0" weaponrange="70.0" clipsize="6" ammomax="600" timebetweenshots="133">
 	<damage base="30" networkplayermod="2.5" networkpedmod="1.25"/>
 	<reload time="2066" fasttime="1166" crouchtime="2066"/>

 	<aiming accuracy="0.06">
   <offset  x="0.16" y="1.0" z="0.44"/>
   <crouchedoffset x="0.16" y="1.0" z="0.0"/>
   <reticule standing="1.0" ducked="1.0" scale="0.0"/>
 	</aiming>

 	<pickup regentime="6000" ammoonstreet="80"/>

 	<controller>
   <rumble duration="90" intensity="0.1"/>
 	</controller>

 	<flags>
   <flag>GUN</flag>
   <flag>CAN_AIM</flag>
   <flag>CAN_FREE_AIM</flag>
   <flag>ANIM_RELOAD</flag>
   <flag>ANIM_CROUCH_FIRE</flag>
   <flag>2HANDED</flag>
 	</flags>

 	<projectile>
   <typetocreate type="EPISODIC_18"/>
   <offset x="0.5" y="0.0" z="0.5"/>
   <rotoffset x="0.0" y="0.0" z="-1.5"/>
   <physics force="200"/>
 	</projectile>
 </data>

 <assets model="w_pumpshot">
 	<anim group="gun@baretta">
   <rates firerate="1.0" blindfirerate="1.0"/>
 	</anim>
 	<effects>

   <muzzle fx="muz_shotgun"/>
   <shell fx="weap_ejected_shotgun"/>
 	</effects>
 </assets>
</weapon> 

        <weapon type="EPISODIC_18">
 <data slot="THROWN" firetype="PROJECTILE" damagetype="EXPLOSIVE" targetrange="10000.0" clipsize="1">
 	<damage base="30" networkplayermod="2.0" networkpedmod="1.0"/>
 	<physics force="20"/>

 	<aiming accuracy="0.0">
   <offset x="0.0" y="1.0" z="0.0"/>
   <crouchedoffset x="0.0" y="1.0" z="0.0"/>
   <reticule standing="0.65" ducked="0.55" scale="0.1"/>
 	</aiming>

 	<pickup regentime="0" ammoonstreet="8"/>

 	<controller>
   <rumble duration="0" intensity="0.0"/>
 	</controller>

 	<flags>
   <flag>THROWN</flag>
   <flag>EXPLOSION_BASED_ON_IMPACT</flag>
 	</flags>

 	<projectile type="IMPACT">
   <explosion type="EPISODIC_3"/>
   <physics force="3000" vehiclevelocity="7000" explodeimpactthreshold="0.2" explodeimpactwithvehiclethreshold="0.2"/>
 	</projectile>
 </data>

 <assets model="cj_rpg_rocket">
 </assets>
</weapon>


6. speichere die weaponinfo.xml datei.

7. geht in eure trainer.ini und aktiviert 'EPISODIC'

8. geht in-game und ffnet den trainer/weapon 

9. spawnt die waffe EPISODIC_8

10. FERTIG^^
